package org.hqmdev.factory;

public class TestFactory {

	public static void main(String[] args) {
		Computer pc = 
				ComputerFactory.getComputer("pc", "2 GB", "2.4 GHz", "500 GB");
		Computer server = 
				ComputerFactory.getComputer("server", "16 GB", "2.9 GHz", "1 TB");
		
		System.out.println("PC config: " + pc);
		System.out.println("Server config: " + server);
	}
}
